<template>
  <el-dialog
    append-to-body
    top="30px"
    width="1080px"
    :close-on-click-modal="false"
    :before-close="beforeClose"
    :visible.sync="visible"
  >
    <el-tabs>
      <el-tab-pane label="即将到期">
        <expiring-tip></expiring-tip>
      </el-tab-pane>
      <el-tab-pane label="到期未解保">
        <unreleased-tip></unreleased-tip>
      </el-tab-pane>
    </el-tabs>
  </el-dialog>
</template>

<script>
import ExpiringTip from '@/credit/components/warningTips/Expiring'
import UnreleasedTip from '@/credit/components/warningTips/Unreleased'
export default {
  components: {
    ExpiringTip,
    UnreleasedTip,
  },
  props: {
    visible: Boolean,
  },
  data() {
    return {}
  },

  created() {},
  methods: {
    beforeClose() {
      this.$emit('update:visible', false)
    },
  },
}
</script>
<style lang="scss" scoped></style>
